This page last changed on Dec 15, 2005 by vidya.

Macros perform programmatic functions within a page and can be used to generate complex content structures or dynamic content.

Macros allow you to create markup or include dynamic content in a page that may not be possible using Confluence notation. For example, the Attachments macro will list a page's attachments in the page itself, so that readers do not have to visit the Attachments tab.

Generally speaking, a macro is simply a command wrapped inside curly braces {...}.

For instance, the Attachments Macro is written as:

Optional Parameters in Macros

For each macro, you can also have optional parameters that can often be combined to refine or control the macro's output.

With attachments, for instance, you have two optional parameters:

  • to specify the file formats of the attachments displayed.
  • to choose whether or not you want old versions of the attachments displayed.

These optional parameters are included within the curly braces, following a colon, like this:

When specifying more than one parameter within the same macro, the pipe symbol is used to separate one from the other, like this:

The macros currently available in Confluence are listed below. For each macro, all the optional parameters are also listed with examples of their usage. To learn how to write your own macro, or use macros written by other people, read the Confluence Plugin Guide

Confluence Macros

RELATED TOPICS

Confluence Notation Guide Overview
Confluence Plugin Guide

Take me back to Confluence 2.0 Home

This page doesn't include all macros. For example: {color} and {html}.

Where is there an actual consolidated list of all default macros with help?

Posted by rwarren@picarro.com at Feb 07, 2006 17:06

The full notation guide on the Wiki Markup editor tab (to the left of the editor) shows a great deal more information on various macros like {note} and {panel} and {section} and stuff. I am not sure if it is exhaustive but there is lots of good info there.

Posted by jay.guidos@petlynx.net at Mar 16, 2006 22:23

Let me echo Russell's request.  Please add documentation for those tags.  THanks.

Posted by bclee at Apr 20, 2006 14:27
Document generated by Confluence on Jun 14, 2006 00:28